<%@taglib uri="http://www.springframework.org/tags/form" prefix="form" %>
<%@page import="com.crm.entity.Variables,com.crm.entity.Business" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/temp.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<!-- InstanceBeginEditable name="doctitle" -->
<!-- InstanceEndEditable -->
<link href="<%=application.getContextPath() %>/css/css-crm.css" rel="stylesheet" type="text/css" />

<!-- InstanceBeginEditable name="head" --><!-- InstanceEndEditable -->
</head>

<body>
<div id="main">
  <%@ include file="common/header.jsp" %>
  <%@include file="common/submenu.jsp" %>
  <div id="content"><!-- InstanceBeginEditable name="EditRegion3" -->
    <div id="work-area">
      <div class="heading">Account Settings</div>
      <%
      if(request.getAttribute("msg")!=null){
    	  out.println(request.getAttribute("msg"));
      }
      
	  Business bus=(Business)session.getAttribute("business");
	  %>
      <div class="box">
        <form:form name="variablesForm" method="post" action="update.do">
          <table width="100%" border="0" cellspacing="0" cellpadding="5">
            <tr>
             <form:input path="id" type="hidden" name="id"/>
              <td width="19%" align="right"><strong>CVD %:</strong></td>
              <td width="24%" align="right" valign="top">
              <form:input path="cvdPercent" name="cvdPercent" type="text" class="form" id="cvdPercentId" /></td>
              <td width="22%" align="left" valign="middle">&nbsp;</td>
              <td width="31%" align="left" valign="top">&nbsp;</td>
              <td width="4%" align="left" valign="top">&nbsp;</td>
            </tr>
            <tr>
              <td width="19%" align="right"><strong>CESS %</strong></td>
              <td width="24%" align="right" valign="top">
              <form:input path="cessPercent" name="cessPercent" type="text" class="form" id="cessPercentId" /></td>
              <td width="22%" align="left" valign="middle">&nbsp;</td>
              <td width="31%" align="left" valign="top">&nbsp;</td>
              <td width="4%" align="left" valign="top">&nbsp;</td>
            </tr>
            <tr>
              <td width="19%" align="right"><strong>ED CESSS %</strong></td>
              <td width="24%" align="right" valign="top">
              <form:input path="edCessPercent" name="edCessPercent" type="text" class="form" id="edCessPercentId" /></td>
              <td width="22%" align="left" valign="middle">&nbsp;</td>
              <td width="31%" align="left" valign="top">&nbsp;</td>
              <td width="4%" align="left" valign="top">&nbsp;</td>
            </tr>
            <tr>
              <td width="19%" align="right"><strong>SAD %</strong></td>
              <td width="24%" align="right" valign="top">
              <form:input path="sadPercent" name="sadPercent" type="text" class="form" id="sadPercentId" /></td>
              <td width="22%" align="left" valign="middle">&nbsp;</td>
              <td width="31%" align="left" valign="top">&nbsp;</td>
              <td width="4%" align="left" valign="top">&nbsp;</td>
            </tr>
            <tr>
              <td width="19%" align="right"><strong>Insurance %</strong></td>
              <td width="24%" align="right" valign="top">
              <form:input path="insurancePercent" name="insurancePercent" type="text" class="form" id="insurancePercentId" /></td>
              <td width="22%" align="left" valign="middle">&nbsp;</td>
              <td width="31%" align="left" valign="top">&nbsp;</td>
              <td width="4%" align="left" valign="top">&nbsp;</td>
            </tr>
            <tr>
              <td width="19%" align="right"><strong>VAT %</strong></td>
              <td width="24%" align="right" valign="top">
              <form:input path="vatPercent" name="vatPercent" type="text" class="form" id="vatPercentId" /></td>
              <td width="22%" align="left" valign="middle">&nbsp;</td>
              <td width="31%" align="left" valign="top">&nbsp;</td>
              <td width="4%" align="left" valign="top">&nbsp;</td>
            </tr>
            <tr>
              <td align="right">&nbsp;</td>
              <td colspan="3" align="center" valign="top">&nbsp;</td>
              <td align="left" valign="top">&nbsp;</td>
            </tr>
            <tr>
              <td width="19%" align="right">&nbsp;</td>
              <td width="24%" align="right" valign="top">
              <input type="submit" class="button" value="Update" /></td>
              <td width="22%" align="left" valign="middle">&nbsp;</td>
              <td width="31%" align="left" valign="top">&nbsp;</td>
              <td width="4%" align="left" valign="top">&nbsp;</td>
            </tr>
          </table>
        </form:form>
      </div>
    </div>
    <!-- InstanceEndEditable -->
    </div><div id="footer"></div>  
</div>
</body>
<!-- InstanceEnd --></html>
